package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.Forum;
import com.example.pojo.PageBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-08-20
 */
public interface ForumService extends IService<Forum> {
    List<Forum> getList(Integer fid);

    boolean deleteForumWithSon(Integer fid);

    boolean moveUp(Integer fid);

    boolean moveDown(Integer fid);

    PageBean<Forum> getPage(Integer currentPage, Integer pageSize);
}
